package com.sgb.kjwl.model.entity;

import android.text.TextUtils;

import java.io.Serializable;
import java.util.List;

public class MyCarInfoEntity implements Serializable {


    /**
     * no : 20200827238958
     * idCard : 513901199711261012
     * userNo : 202008065163679
     * remark :
     * carLenName : 10.9米
     * carTypeNo : 202005207710348
     * destDistrictName : 武侯区
     * ways : []
     * cityName : 北京市
     * districtNo : 110101
     * provinceNo : 110000
     * driverLicense : 111.jpg,222.jpg
     * id : 186
     * state : 1
     * carTypeName : 面包
     * vehicleLicense : 111.jpg
     * cityNo : 110100
     * contrctsNumber :
     * destCityName : 成都市
     * districtName : 东城区
     * weight : 20
     * destProvinceName : 四川省
     * updateTime : 1598526261753
     * carNumber : 川AE6866
     * carLenNo : 202008137623141
     * carImage : 111.jpg
     * name : 何家俊
     * provinceName : 北京
     * status : 1
     */


    private String no;
    private String idCard;
    private String userNo;
    private String remark;
    private String carLenName;
    private String carTypeNo;
    private String destDistrictName;
    private String cityName;
    private String districtNo;
    private String provinceNo;
    private String driverLicense;
    private Long id;
    private int state;
    private String carTypeName;
    private String vehicleLicense;//行驶证
    private String cityNo;
    private String contrctsNumber;
    private String destCityName;
    private String districtName;
    private String weight;
    private String destProvinceName;
    private long updateTime;
    private String carNumber;
    private String carLenNo;
    private String carImage;
    private String name;
    private String provinceName;
    private int status;
    private String heightHurdle;
    private Integer isDump;
    private Integer isManage;
    private String detailAddress;
    private Double longitude;
    private Double latitude;
    private List<?> operationLogs;
    private String telphone;
    private String functionNos;//车辆功能name
    private String functionNo;//车辆功能no
    private Long acquireTime;/** 驾驶证初次获取时间**/
    private int isComplete;//是否是完整信息 1 是 0不是
    /** 主资格证**/
    private String mainCertificate;
    /** 副资格证**/
    private String viceCertificate;
    /**
     * 运输证主页
     */
    private String transportCertificateMain;
    /**
     * 运输证副页
     */
    private String transportCertificateVice;
    /**
     * 运输证编号
     */
    private String transportCertificateNum;
    /**
     * 车牌颜色
     */
    private String licensePlateColor;
    /**
     * 识图行驶证副页
     */
    private String drivingLicensePage;
    //ocr车辆数据，2.0.2.2增加
    private String imageDateOfIssue;
    private String imageNatureOfUse;
    private String imageIssuingAuthority;
    private String imageSizeL;
    private String imageSizeW;
    private String imageVehicleIdentifier;
    private String imageTotalMass;
    private String imageRegistrationDate;
    private String imageApprovedLoadingQuality;
    private String imageCarNumber;
    private String imageVehicleEnergyType;
    private String imageCarType;
    private String imageHolder;
    private String imageSizeH;

    //2.0.4新增
    private Integer carYears;//车辆年限
    private Long upMaintainTime;//上次保养时间
    private Long annualInspectionTime;//年检时间
    private Long insuranceTime;//保险时间
    //"车辆上户地 省名称"
    private String carProvinceName;
    //"车辆上户地 省no"
    private String carProvinceNo;
    //"车辆上户地 市名称"
    private String carCityName;
    //"车辆上户地 市no"
    private String carCityNo;
    //"车辆上户地 区名称"
    private String carDistrictName;
    //"车辆上户地 区no"
    private String carDistrictNo;
    //2.0.6新增
    //"意向去向 省 no")
    private String intentionProvinceNo;
    //"意向去向 省 name")
    private String intentionProvinceName;
    //"意向去向 市 no")
    private String intentionCityNo;
    //"意向去向 市 name")
    private String intentionCityName;
    //2.1.3新增参数
    private String carNo;
    private String driverNo;//绑定司机no
    private String driverName;//绑定司机
    private String motorcadeName;//所属车队
    private String motorcadeNo;//所属车队no
    private String motorcadeDriverNo;//解绑司机对应no
    private String imageNumber;//档案编号
    private String imageVehicleAddress;
    private String imageVehicleCity;
    private String imageVehicleCityNo;
    private String imageVehicleDistrict;
    private String imageVehicleDistrictNo;
    private String imageVehicleLat;
    private String imageVehicleLon;
    private String imageVehicleProvince;
    private String imageVehicleProvinceNo;

    private String linkman;
    private String linkmanPhone;

    public String getLinkman() {
        return linkman;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman;
    }

    public String getLinkmanPhone() {
        return linkmanPhone;
    }

    public void setLinkmanPhone(String linkmanPhone) {
        this.linkmanPhone = linkmanPhone;
    }

    //2.2.3.1新增
    private String imageSourceCode;

    public String getImageSourceCode() {
        return imageSourceCode;
    }

    public void setImageSourceCode(String imageSourceCode) {
        this.imageSourceCode = imageSourceCode;
    }

    public String getCarNo() {
        return carNo;
    }

    public void setCarNo(String carNo) {
        this.carNo = carNo;
    }

    public String getDriverNo() {
        return driverNo;
    }

    public void setDriverNo(String driverNo) {
        this.driverNo = driverNo;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getMotorcadeDriverNo() {
        return motorcadeDriverNo;
    }

    public void setMotorcadeDriverNo(String motorcadeDriverNo) {
        this.motorcadeDriverNo = motorcadeDriverNo;
    }

    public String getMotorcadeName() {
        return motorcadeName;
    }

    public void setMotorcadeName(String motorcadeName) {
        this.motorcadeName = motorcadeName;
    }

    public String getMotorcadeNo() {
        return motorcadeNo;
    }

    public void setMotorcadeNo(String motorcadeNo) {
        this.motorcadeNo = motorcadeNo;
    }

    public String getImageDateOfIssue() {
        return imageDateOfIssue;
    }

    public void setImageDateOfIssue(String imageDateOfIssue) {
        this.imageDateOfIssue = imageDateOfIssue;
    }

    public String getImageNatureOfUse() {
        return imageNatureOfUse;
    }

    public void setImageNatureOfUse(String imageNatureOfUse) {
        this.imageNatureOfUse = imageNatureOfUse;
    }

    public String getImageIssuingAuthority() {
        return imageIssuingAuthority;
    }

    public void setImageIssuingAuthority(String imageIssuingAuthority) {
        this.imageIssuingAuthority = imageIssuingAuthority;
    }

    public String getImageSizeL() {
        return imageSizeL;
    }

    public void setImageSizeL(String imageSizeL) {
        this.imageSizeL = imageSizeL;
    }

    public String getImageSizeW() {
        return imageSizeW;
    }

    public void setImageSizeW(String imageSizeW) {
        this.imageSizeW = imageSizeW;
    }

    public String getImageVehicleIdentifier() {
        return imageVehicleIdentifier;
    }

    public void setImageVehicleIdentifier(String imageVehicleIdentifier) {
        this.imageVehicleIdentifier = imageVehicleIdentifier;
    }

    public String getImageTotalMass() {
        return imageTotalMass;
    }

    public void setImageTotalMass(String imageTotalMass) {
        this.imageTotalMass = imageTotalMass;
    }

    public String getImageRegistrationDate() {
        return imageRegistrationDate;
    }

    public void setImageRegistrationDate(String imageRegistrationDate) {
        this.imageRegistrationDate = imageRegistrationDate;
    }

    public String getImageApprovedLoadingQuality() {
        return imageApprovedLoadingQuality;
    }

    public void setImageApprovedLoadingQuality(String imageApprovedLoadingQuality) {
        this.imageApprovedLoadingQuality = imageApprovedLoadingQuality;
    }

    public String getImageCarNumber() {
        return imageCarNumber;
    }

    public void setImageCarNumber(String imageCarNumber) {
        this.imageCarNumber = imageCarNumber;
    }

    public String getImageVehicleEnergyType() {
        return imageVehicleEnergyType;
    }

    public void setImageVehicleEnergyType(String imageVehicleEnergyType) {
        this.imageVehicleEnergyType = imageVehicleEnergyType;
    }

    public String getImageCarType() {
        return imageCarType;
    }

    public void setImageCarType(String imageCarType) {
        this.imageCarType = imageCarType;
    }

    public String getImageHolder() {
        return imageHolder;
    }

    public void setImageHolder(String imageHolder) {
        this.imageHolder = imageHolder;
    }

    public String getImageSizeH() {
        return imageSizeH;
    }

    public void setImageSizeH(String imageSizeH) {
        this.imageSizeH = imageSizeH;
    }

    public Long getAcquireTime() {
        return acquireTime;
    }

    public void setAcquireTime(Long acquireTime) {
        this.acquireTime = acquireTime;
    }

    public int getIsComplete() {
        return isComplete;
    }

    public void setIsComplete(int isComplete) {
        this.isComplete = isComplete;
    }

    public String getMainCertificate() {
        return mainCertificate;
    }

    public void setMainCertificate(String mainCertificate) {
        this.mainCertificate = mainCertificate;
    }

    public String getViceCertificate() {
        return viceCertificate;
    }

    public void setViceCertificate(String viceCertificate) {
        this.viceCertificate = viceCertificate;
    }

    public String getFunctionNos() {
        return functionNos;
    }

    public void setFunctionNos(String functionNos) {
        this.functionNos = functionNos;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCarLenName() {
        return carLenName;
    }

    public void setCarLenName(String carLenName) {
        this.carLenName = carLenName;
    }

    public String getCarTypeNo() {
        return carTypeNo;
    }

    public void setCarTypeNo(String carTypeNo) {
        this.carTypeNo = carTypeNo;
    }

    public String getDestDistrictName() {
        return destDistrictName;
    }

    public void setDestDistrictName(String destDistrictName) {
        this.destDistrictName = destDistrictName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getDistrictNo() {
        return districtNo;
    }

    public void setDistrictNo(String districtNo) {
        this.districtNo = districtNo;
    }

    public String getProvinceNo() {
        return provinceNo;
    }

    public void setProvinceNo(String provinceNo) {
        this.provinceNo = provinceNo;
    }

    public String getDriverLicense() {
        return driverLicense;
    }

    public void setDriverLicense(String driverLicense) {
        this.driverLicense = driverLicense;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getCarTypeName() {
        return carTypeName;
    }

    public void setCarTypeName(String carTypeName) {
        this.carTypeName = carTypeName;
    }

    public String getVehicleLicense() {
        return vehicleLicense;
    }

    public void setVehicleLicense(String vehicleLicense) {
        this.vehicleLicense = vehicleLicense;
    }

    public String getCityNo() {
        return cityNo;
    }

    public void setCityNo(String cityNo) {
        this.cityNo = cityNo;
    }

    public String getContrctsNumber() {
        return contrctsNumber;
    }

    public void setContrctsNumber(String contrctsNumber) {
        this.contrctsNumber = contrctsNumber;
    }

    public String getDestCityName() {
        return destCityName;
    }

    public void setDestCityName(String destCityName) {
        this.destCityName = destCityName;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getDestProvinceName() {
        return destProvinceName;
    }

    public void setDestProvinceName(String destProvinceName) {
        this.destProvinceName = destProvinceName;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public String getCarLenNo() {
        return carLenNo;
    }

    public void setCarLenNo(String carLenNo) {
        this.carLenNo = carLenNo;
    }

    public String getCarImage() {
        return carImage;
    }

    public void setCarImage(String carImage) {
        this.carImage = carImage;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getHeightHurdle() {
        return heightHurdle;
    }

    public void setHeightHurdle(String heightHurdle) {
        this.heightHurdle = heightHurdle;
    }

    public Integer getIsDump() {
        return isDump;
    }

    public void setIsDump(Integer isDump) {
        this.isDump = isDump;
    }

    public Integer getIsManage() {
        return isManage;
    }

    public void setIsManage(Integer isManage) {
        this.isManage = isManage;
    }

    public String getDetailAddress() {
        return detailAddress;
    }

    public void setDetailAddress(String detailAddress) {
        this.detailAddress = detailAddress;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public List<?> getOperationLogs() {
        return operationLogs;
    }

    public void setOperationLogs(List<?> operationLogs) {
        this.operationLogs = operationLogs;
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
    }

    public String getTransportCertificateMain() {
        return transportCertificateMain;
    }

    public void setTransportCertificateMain(String transportCertificateMain) {
        this.transportCertificateMain = transportCertificateMain;
    }

    public String getTransportCertificateVice() {
        return transportCertificateVice;
    }

    public void setTransportCertificateVice(String transportCertificateVice) {
        this.transportCertificateVice = transportCertificateVice;
    }

    public String getTransportCertificateNum() {
        return transportCertificateNum;
    }

    public void setTransportCertificateNum(String transportCertificateNum) {
        this.transportCertificateNum = transportCertificateNum;
    }

    public String getLicensePlateColor() {
        return licensePlateColor;
    }
    public void setLicensePlateColor(String licensePlateColor) {
        this.licensePlateColor = licensePlateColor;
    }

    public String getDrivingLicensePage() {
        return drivingLicensePage;
    }

    public void setDrivingLicensePage(String drivingLicensePage) {
        this.drivingLicensePage = drivingLicensePage;
    }

    public String getFunctionNo() {
        return functionNo;
    }

    public void setFunctionNo(String functionNo) {
        this.functionNo = functionNo;
    }

    @Override
    public String toString() {
        return "MyCarInfoEntity{" +
                "no='" + no + '\'' +
                ", idCard='" + idCard + '\'' +
                ", userNo='" + userNo + '\'' +
                ", remark='" + remark + '\'' +
                ", carLenName='" + carLenName + '\'' +
                ", carTypeNo='" + carTypeNo + '\'' +
                ", destDistrictName='" + destDistrictName + '\'' +
                ", cityName='" + cityName + '\'' +
                ", districtNo='" + districtNo + '\'' +
                ", provinceNo='" + provinceNo + '\'' +
                ", driverLicense='" + driverLicense + '\'' +
                ", id=" + id +
                ", state=" + state +
                ", carTypeName='" + carTypeName + '\'' +
                ", vehicleLicense='" + vehicleLicense + '\'' +
                ", cityNo='" + cityNo + '\'' +
                ", contrctsNumber='" + contrctsNumber + '\'' +
                ", destCityName='" + destCityName + '\'' +
                ", districtName='" + districtName + '\'' +
                ", weight='" + weight + '\'' +
                ", destProvinceName='" + destProvinceName + '\'' +
                ", updateTime=" + updateTime +
                ", carNumber='" + carNumber + '\'' +
                ", carLenNo='" + carLenNo + '\'' +
                ", carImage='" + carImage + '\'' +
                ", name='" + name + '\'' +
                ", provinceName='" + provinceName + '\'' +
                ", status=" + status +
                ", heightHurdle='" + heightHurdle + '\'' +
                ", isDump=" + isDump +
                ", isManage=" + isManage +
                ", detailAddress='" + detailAddress + '\'' +
                ", longitude=" + longitude +
                ", latitude=" + latitude +
                ", operationLogs=" + operationLogs +
                ", telphone='" + telphone + '\'' +
                ", functionNos='" + functionNos + '\'' +
                ", functionNo='" + functionNo + '\'' +
                ", acquireTime=" + acquireTime +
                ", isComplete=" + isComplete +
                ", mainCertificate='" + mainCertificate + '\'' +
                ", viceCertificate='" + viceCertificate + '\'' +
                ", transportCertificateMain='" + transportCertificateMain + '\'' +
                ", transportCertificateVice='" + transportCertificateVice + '\'' +
                ", transportCertificateNum='" + transportCertificateNum + '\'' +
                ", licensePlateColor='" + licensePlateColor + '\'' +
                ", drivingLicensePage='" + drivingLicensePage + '\'' +
                ", imageDateOfIssue='" + imageDateOfIssue + '\'' +
                ", imageNatureOfUse='" + imageNatureOfUse + '\'' +
                ", imageIssuingAuthority='" + imageIssuingAuthority + '\'' +
                ", imageSizeL='" + imageSizeL + '\'' +
                ", imageSizeW='" + imageSizeW + '\'' +
                ", imageVehicleIdentifier='" + imageVehicleIdentifier + '\'' +
                ", imageTotalMass='" + imageTotalMass + '\'' +
                ", imageRegistrationDate='" + imageRegistrationDate + '\'' +
                ", imageApprovedLoadingQuality='" + imageApprovedLoadingQuality + '\'' +
                ", imageCarNumber='" + imageCarNumber + '\'' +
                ", imageVehicleEnergyType='" + imageVehicleEnergyType + '\'' +
                ", imageCarType='" + imageCarType + '\'' +
                ", imageHolder='" + imageHolder + '\'' +
                ", imageSizeH='" + imageSizeH + '\'' +
                ", carYears=" + carYears +
                ", upMaintainTime=" + upMaintainTime +
                ", annualInspectionTime=" + annualInspectionTime +
                ", insuranceTime=" + insuranceTime +
                ", carProvinceName='" + carProvinceName + '\'' +
                ", carCityName='" + carCityName + '\'' +
                ", carDistrictName='" + carDistrictName + '\'' +
                ", intentionProvinceNo='" + intentionProvinceNo + '\'' +
                ", intentionProvinceName='" + intentionProvinceName + '\'' +
                ", intentionCityNo='" + intentionCityNo + '\'' +
                ", intentionCityName='" + intentionCityName + '\'' +
                '}';
    }

    public String[] driverLicense(){
        if (!TextUtils.isEmpty(driverLicense)){
            String[] strings = driverLicense.split(",");
            return strings;
        }else {
            return new String[]{""};
        }
    }
    public String[] vehicleLicense(){
        if (TextUtils.isEmpty(vehicleLicense)){
            return new String[]{""};
        }else {
            String[] strings = vehicleLicense.split(",");
            return strings;
        }
    }

    public Integer getCarYears() {
        return carYears;
    }

    public void setCarYears(Integer carYears) {
        this.carYears = carYears;
    }

    public Long getUpMaintainTime() {
        return upMaintainTime;
    }

    public void setUpMaintainTime(Long upMaintainTime) {
        this.upMaintainTime = upMaintainTime;
    }

    public Long getAnnualInspectionTime() {
        return annualInspectionTime;
    }

    public void setAnnualInspectionTime(Long annualInspectionTime) {
        this.annualInspectionTime = annualInspectionTime;
    }

    public Long getInsuranceTime() {
        return insuranceTime;
    }

    public void setInsuranceTime(Long insuranceTime) {
        this.insuranceTime = insuranceTime;
    }

    public String getCarProvinceName() {
        return carProvinceName;
    }

    public void setCarProvinceName(String carProvinceName) {
        this.carProvinceName = carProvinceName;
    }

    public String getCarCityName() {
        return carCityName;
    }

    public void setCarCityName(String carCityName) {
        this.carCityName = carCityName;
    }

    public String getCarDistrictName() {
        return carDistrictName;
    }

    public void setCarDistrictName(String carDistrictName) {
        this.carDistrictName = carDistrictName;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }

    public String getIntentionProvinceNo() {
        return intentionProvinceNo;
    }

    public void setIntentionProvinceNo(String intentionProvinceNo) {
        this.intentionProvinceNo = intentionProvinceNo;
    }

    public String getIntentionProvinceName() {
        return intentionProvinceName;
    }

    public void setIntentionProvinceName(String intentionProvinceName) {
        this.intentionProvinceName = intentionProvinceName;
    }

    public String getIntentionCityNo() {
        return intentionCityNo;
    }

    public void setIntentionCityNo(String intentionCityNo) {
        this.intentionCityNo = intentionCityNo;
    }

    public String getIntentionCityName() {
        return intentionCityName;
    }

    public void setIntentionCityName(String intentionCityName) {
        this.intentionCityName = intentionCityName;
    }

    public String getCarProvinceNo() {
        return carProvinceNo;
    }

    public void setCarProvinceNo(String carProvinceNo) {
        this.carProvinceNo = carProvinceNo;
    }

    public String getCarCityNo() {
        return carCityNo;
    }

    public void setCarCityNo(String carCityNo) {
        this.carCityNo = carCityNo;
    }

    public String getCarDistrictNo() {
        return carDistrictNo;
    }

    public void setCarDistrictNo(String carDistrictNo) {
        this.carDistrictNo = carDistrictNo;
    }

    public String getImageVehicleAddress() {
        return imageVehicleAddress;
    }

    public void setImageVehicleAddress(String imageVehicleAddress) {
        this.imageVehicleAddress = imageVehicleAddress;
    }

    public String getImageNumber() {
        return imageNumber;
    }

    public void setImageNumber(String imageNumber) {
        this.imageNumber = imageNumber;
    }

    public String getImageVehicleCity() {
        return imageVehicleCity;
    }

    public void setImageVehicleCity(String imageVehicleCity) {
        this.imageVehicleCity = imageVehicleCity;
    }

    public String getImageVehicleCityNo() {
        return imageVehicleCityNo;
    }

    public void setImageVehicleCityNo(String imageVehicleCityNo) {
        this.imageVehicleCityNo = imageVehicleCityNo;
    }

    public String getImageVehicleDistrict() {
        return imageVehicleDistrict;
    }

    public void setImageVehicleDistrict(String imageVehicleDistrict) {
        this.imageVehicleDistrict = imageVehicleDistrict;
    }

    public String getImageVehicleDistrictNo() {
        return imageVehicleDistrictNo;
    }

    public void setImageVehicleDistrictNo(String imageVehicleDistrictNo) {
        this.imageVehicleDistrictNo = imageVehicleDistrictNo;
    }


    public String getImageVehicleProvince() {
        return imageVehicleProvince;
    }

    public void setImageVehicleProvince(String imageVehicleProvince) {
        this.imageVehicleProvince = imageVehicleProvince;
    }

    public String getImageVehicleProvinceNo() {
        return imageVehicleProvinceNo;
    }

    public void setImageVehicleProvinceNo(String imageVehicleProvinceNo) {
        this.imageVehicleProvinceNo = imageVehicleProvinceNo;
    }
}
